/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package models.beans;

import models.dao.ProveedoresDao;
import models.entity.Proveedores;

/**
 *
 * @author cepardov
 */
public class ProveedoresBeans extends Proveedores{
    ProveedoresDao proveedoresDao=new ProveedoresDao();
    
    public boolean save(){
        return proveedoresDao.save(this);
    }
    public boolean delete(){
        return proveedoresDao.delete(this);
    }
    public boolean update(){
        return proveedoresDao.update(this);
    }
    public boolean find(){
        return proveedoresDao.findById(this);
    }
}
